Model Checking of Message Sequence Charts
نویسندگان
چکیده
Scenario based speci cations such as message sequence charts MSC o er an intuitive and visual way of describing design require ments Such speci cations focus on message exchanges among communi cating entities in distributed software systems Structured speci cations such as MSC graphs and Hierarchical MSC graphs HMSC allow con venient expression of multiple scenarios and can be viewed as an early model of the system In this paper we present a comprehensive study of the problem of verifying whether this model satis es a temporal require ment given by an automaton by developing algorithms for the di erent cases along with matching lower bounds When the model is given as an MSC model checking can be done by constructing a suitable automaton for the linearizations of the partial order speci ed by the MSC and the problem is coNP complete When the model is given by an MSC graph we consider two possible semantics depending on the synchronous or asynchronous interpretation of concate nating two MSCs For synchronous model checking of MSC graphs and HMSCs we present algorithms whose time complexity is proportional to the product of the size of the description and the cost of processing MSCs at individual vertices Under the asynchronous interpretation we prove undecidability of the model checking problem We then identify a natural requirement of boundedness give algorithms to check bounded ness and establish asynchronous model checking to be Pspace complete for bounded MSC graphs and Expspace complete for bounded HMSCs
منابع مشابه
Extending Compositional Message Sequence Graphs
We extend the formal developments for message sequence charts (MSCs) to support scenarios with lost and found messages. We define a notion of extended compositional message sequence charts (ECMSCs) which subsumes the notion of compositional message sequence charts in expressive power but additionally allows to define lost and found messages explicitly. As usual, ECMSCs might be combined by mean...
متن کاملThe Theory of Message Sequence Charts
Message Sequence Charts or MSCs are a visual formalism used in the specification of systems in many domains including telecommunications, object oriented design and forms a part of the UML language. Consequently, the formal study of MSCs has received considerable attention over the last decade. We survey some of the key results in this area with particular emphasis on the notion of regularity a...
متن کاملDeciding Properties of Message Sequence Charts
Message Sequence Charts (MSCs) is a notation used in practice by protocol designers and system engineers. It is defined within an international standard (ITU Z120), and is also included, in a slightly different form, in the popular UML standard (called there sequence diagrams). We present some of the main results related to this notation, in the context of specification and automatic verificati...
متن کاملChecking UML Dynamic Diagrams: A Synchronous Approach
This paper addresses the design of control-dominated systems using a synchronous approach and the UML. The work aims at formally checking the design: scenarios/controller consistency, safety properties. For this, a strengthening of UML behavioral models is necessary: SyncCharts are used instead of Statecharts, and Sequence Diagrams are extended with synchronously sound constructs akin to Messag...
متن کاملDynamic Message Sequence Charts
We introduce a formalism to specify classes of MSCs over an unbounded number of processes. The formalism can describe many interesting behaviours of dynamically changing networks of processes. Moreover, it strictly includes the formalism of Message Sequence Graphs studied in the literature to describe MSCs over a fixed finite set of processes. Our main result is that model-checking of MSCs desc...
متن کاملEvidence Exploration for Model Checking
It is widely believed that formal verification can play an essential role in the design and development of highconfidence computer-based systems. While a number of powerful formal verification techniques exist, their acceptance in the industrial sector has been limited in part by a perceived lack of usability. Research related to improving usability has targeted various stages of formal verific...
متن کامل